package com.koron.order.workbench.todoCenter.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.business.workflow.bean.po.ConfigureWorkflow;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @ClassName ConfigureFeign
 * @description
 * @Author zhouj
 * @Date 2022/3/8 10:32
 */
@FeignClient(value = "eam-service-configure", fallbackFactory = FeignFallbackFactory.class)
public interface ConfigureOrderFeignService {

    @ApiOperation(value = "获取工作流模板组字典")
    @GetMapping("/configureWorkflow/setCodes")
    Response<List<ConfigureWorkflow>> setCodes(@RequestParam("appCode") String appCode);

}
